﻿#ifndef CMDLINECHARTSIDEBARSETTINGSCOPYSELECTEDGRAPH_H
#define CMDLINECHARTSIDEBARSETTINGSCOPYSELECTEDGRAPH_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdLineChartSidebarSettingsCopySelectedGraph : public CommandManager::CommandBase
    {
        Q_OBJECT

        public:
            CmdLineChartSidebarSettingsCopySelectedGraph();
            ~CmdLineChartSidebarSettingsCopySelectedGraph();

            bool execute() override;
            void undo() override;
            void redo() override;

        private:
            QString m_data{};
    };

} // namespace PostCommand

#endif
